package routers

import (
	"github.com/gogf/gf/v2/net/ghttp"
	"seawolf-admin-go/internal/app/admin/controller/data"
)

func DataReg(s *ghttp.Server, defaultVersion string) {
	s.Group("/data/area", func(group *ghttp.RouterGroup) {
		data.NewAreaController(group, defaultVersion)
	})

	s.Group("/data/dict", func(group *ghttp.RouterGroup) {
		data.NewDictController(group, defaultVersion)
	})
}
